package com.ruoyi.common.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

public class SysConfigConstants {

    public static final String DIESEL_OIL_PRODUCT_SN = "P00000003";

    @AllArgsConstructor
    @Getter
    public enum GlobalConfigEnum {
        SHOP_INVITATION_REWARD_RATE("shop_invitation_reward_rate", "0%"),
        SHOP_PRODUCT_PRICE_RATE("shop_product_price_rate", "5%"),
        FINANCE_PASSWORD_KEY("finance", "BPrNKaG77LJL8pPx"),
        ;

        private String key;
        private String defaultValue;
    }

    @AllArgsConstructor
    @Getter
    public enum ShopConfigEnum {
        WXNOTIFY_SWITCH("wxnotify.switch", "Y"),
        WXNOTIFY_SWITCH_RECHARGE("wxnotify.recharge", "Y"),
        WXNOTIFY_SWITCH_BALANCE("wxnotify.balanceChange", "Y"),
        WXNOTIFY_SWITCH_PETROL("wxnotify.petrol", "Y"),
        WXNOTIFY_SWITCH_COUPON("wxnotify.couponReceive", "Y"),
        WXNOTIFY_SWITCH_COUPON2("wxnotify.couponExpire", "Y"),
        WXNOTIFY_COUPON_EXPIRE_REMIND_AT("wxnotify.couponExpireRemind.at", "3"),
        SMSNOTIFY_SWITCH("smsnotify.switch", "Y"),
        SMSNOTIFY_SWITCH_RECHARGE("smsnotify.recharge", "Y"),
        SMSNOTIFY_SWITCH_PETROL_BALANCE("smsnotify.petrolBalance", "Y"),
        SMSNOTIFY_SWITCH_PETROL_WX("smsnotify.petrolWx", "Y"),
        SMSNOTIFY_SWITCH_COUPON("smsnotify.couponReceive", "Y"),
        EXCHANGE_PASSWORD("exchange.password", "Y"),
        ;

        private String key;
        private String defaultValue;
    }

    @AllArgsConstructor
    @Getter
    public enum SystemModuleEnum {
        //充值订单
        RECHARGE(0),
        //加油订单
        PETROL(1),
        //积分商城订单
        CREDIT(2);

        private int value;
    }
}
